3.9.81 \(\int \frac {1}{\sqrt {c x^2} (a+b x)} \, dx\) [881]

Optimal. Leaf size=38 \[ \frac {x \log (x)}{a \sqrt {c x^2}}-\frac {x \log (a+b x)}{a \sqrt {c x^2}} \]

[Out]

x*ln(x)/a/(c*x^2)^(1/2)-x*ln(b*x+a)/a/(c*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {15, 36, 29, 31} \begin {gather*} \frac {x \log (x)}{a \sqrt {c x^2}}-\frac {x \log (a+b x)}{a \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[c*x^2]*(a + b*x)),x]

[Out]

(x*Log[x])/(a*Sqrt[c*x^2]) - (x*Log[a + b*x])/(a*Sqrt[c*x^2])

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {c x^2} (a+b x)} \, dx &=\frac {x \int \frac {1}{x (a+b x)} \, dx}{\sqrt {c x^2}}\\ &=\frac {x \int \frac {1}{x} \, dx}{a \sqrt {c x^2}}-\frac {(b x) \int \frac {1}{a+b x} \, dx}{a \sqrt {c x^2}}\\ &=\frac {x \log (x)}{a \sqrt {c x^2}}-\frac {x \log (a+b x)}{a \sqrt {c x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 25, normalized size = 0.66 \begin {gather*} \frac {x (\log (x)-\log (a+b x))}{a \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[c*x^2]*(a + b*x)),x]

[Out]

(x*(Log[x] - Log[a + b*x]))/(a*Sqrt[c*x^2])

________________________________________________________________________________________

Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: maximum recursion depth exceeded} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[1/(Sqrt[c*x^2]*(a + b*x)),x]')

[Out]

cought exception: maximum recursion depth exceeded

________________________________________________________________________________________

Maple [A]
time = 0.11, size = 24, normalized size = 0.63

method result size
default \(\frac {x \left (\ln \left (x \right )-\ln \left (b x +a \right )\right )}{\sqrt {c \,x^{2}}\, a}\) \(24\)
risch \(\frac {x \ln \left (-x \right )}{\sqrt {c \,x^{2}}\, a}-\frac {x \ln \left (b x +a \right )}{a \sqrt {c \,x^{2}}}\) \(37\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b*x+a)/(c*x^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

x*(ln(x)-ln(b*x+a))/(c*x^2)^(1/2)/a

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 35, normalized size = 0.92 \begin {gather*} -\frac {\left (-1\right )^{\frac {2 \, a c x}{b}} \log \left (-\frac {2 \, a c x}{b {\left | b x + a \right |}}\right )}{a \sqrt {c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)/(c*x^2)^(1/2),x, algorithm="maxima")

[Out]

-(-1)^(2*a*c*x/b)*log(-2*a*c*x/(b*abs(b*x + a)))/(a*sqrt(c))

________________________________________________________________________________________

Fricas [A]
time = 0.30, size = 70, normalized size = 1.84 \begin {gather*} \left [\frac {\sqrt {c x^{2}} \log \left (\frac {x}{b x + a}\right )}{a c x}, \frac {2 \, \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2}} {\left (2 \, b x + a\right )} \sqrt {-c}}{a c x}\right )}{a c}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)/(c*x^2)^(1/2),x, algorithm="fricas")

[Out]

[sqrt(c*x^2)*log(x/(b*x + a))/(a*c*x), 2*sqrt(-c)*arctan(sqrt(c*x^2)*(2*b*x + a)*sqrt(-c)/(a*c*x))/(a*c)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {c x^{2}} \left (a + b x\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)/(c*x**2)**(1/2),x)

[Out]

Integral(1/(sqrt(c*x**2)*(a + b*x)), x)

________________________________________________________________________________________

Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Limit: Max order reached or unable to make series expansion Error: Bad Argument Value} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b*x+a)/(c*x^2)^(1/2),x)

[Out]

Limit: Max order reached or unable to make series expansion Error: Bad Argument Value

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {c\,x^2}\,\left (a+b\,x\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((c*x^2)^(1/2)*(a + b*x)),x)

[Out]

int(1/((c*x^2)^(1/2)*(a + b*x)), x)

________________________________________________________________________________________